package com.liwei.blog.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.liwei.blog.dao.AuthorityDao;
import com.liwei.blog.pojo.Authority;
import com.liwei.blog.service.AuthorityService;

/** 
* @author 作者 liwei: 
* @version 创建时间：2018年12月3日 下午9:42:38 
* 类说明 
*/
@Service
public class AuthorityServiceImpl implements AuthorityService {

	@Autowired
	AuthorityDao  authorityDao;
	@Override
	public Authority getPermissionById(Long id) {
		// TODO Auto-generated method stub
		return authorityDao.getOne(id);
	}

}
